projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1739e5
)
(Fkill_buffer): Don't delete auto save file
author
Richard M. Stallman
<rms@gnu.org>
Tue, 21 Jun 1994 17:52:18 +0000
(17:52 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 21 Jun 1994 17:52:18 +0000
(17:52 +0000)
if it didn't come from this Emacs session.
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index 8edd937b957146ce22bcead15db35b104d4e496c..edab13cc88b4afccf60ddd5e227d692d17775b6d 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-801,8
+801,9
@@
with `delete-process'.")
Freplace_buffer_in_windows (buf);
Vinhibit_quit = tem;
- /* Delete any auto-save file. */
- if (XTYPE (b->auto_save_file_name) == Lisp_String)
+ /* Delete any auto-save file, if we saved it in this session. */
+ if (XTYPE (b->auto_save_file_name) == Lisp_String
+ && b->auto_save_modified != 0)
{
Lisp_Object tem;
tem = Fsymbol_value (intern ("delete-auto-save-files"));